package org.usts.trainning.supermarket.service;

import java.text.ParseException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class BillCommand {
	public String findAllBill(HttpServletRequest request, HttpServletResponse response) {
		BillContribute billContribute = new BillContribute();
		return billContribute.getAllBill(request, response);
	}

	public String findBillById(HttpServletRequest request, HttpServletResponse response) {
		BillContribute billContribute = new BillContribute();
		return billContribute.findBillById(request, response);
	}

	public String updateBillById(HttpServletRequest request, HttpServletResponse response) {
		BillContribute billContribute = new BillContribute();
		return billContribute.updateBillById(request, response);
	}

	public String modifyeBillById(HttpServletRequest request, HttpServletResponse response) {
		BillContribute billContribute = new BillContribute();
		return billContribute.modifyBillById(request, response);
	}

	public String deleteBillById(HttpServletRequest request, HttpServletResponse response) {
		BillContribute billContribute = new BillContribute();
		return billContribute.deleteBillById(request, response);
	}

	public String addBill(HttpServletRequest request, HttpServletResponse response) {
		BillContribute billContribute = new BillContribute();
		return billContribute.addBill(request, response);
	}

	public String searchBill(HttpServletRequest request, HttpServletResponse response) {
		BillContribute billContribute = new BillContribute();
		return billContribute.searchBill(request, response);
	}

}
